﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Common;
using Csla;
using Csla.Data;

namespace BO
{

    [Serializable()]
    public partial class PrincipalGame:BusinessBaseEx
    {
        public PrincipalGame()
        {
            this.Clear();
        }
         
        
    #region primary field
       
         private static PropertyInfo<Int32> IDProperty=RegisterProperty( typeof(PrincipalGame), new PropertyInfo<Int32>("ID",true));
       
        
         public Int32 ID
        { 
            get{return GetProperty(IDProperty);}
            set{SetProperty(IDProperty, value); }
        }
       
         private static PropertyInfo<String> PrincipalAProperty=RegisterProperty( typeof(PrincipalGame), new PropertyInfo<String>("PrincipalA",false));
       
        
         public String PrincipalA
        { 
            get{return GetProperty(PrincipalAProperty);}
            set{SetProperty(PrincipalAProperty, value); }
        }
       
         private static PropertyInfo<String> PrincipalBProperty=RegisterProperty( typeof(PrincipalGame), new PropertyInfo<String>("PrincipalB",false));
       
        
         public String PrincipalB
        { 
            get{return GetProperty(PrincipalBProperty);}
            set{SetProperty(PrincipalBProperty, value); }
        }
    #endregion 
       
        public override string GetTableName()
        {
            return "PrincipalGame";
         }
        
    
    
    }
}